import { sidebar } from "vuepress-theme-hope";

export default sidebar({
  // 默认的侧边导航栏
  "/": [
    "",// 侧边栏的首页，路径指向谁，就是谁的链接，title决定名字
    {
      text: "案例",
      icon: "laptop-code",
      prefix: "demo/",
      link: "demo/",
      children: "structure",
    },
    {
      text: "文档",
      icon: "book",
      prefix: "guide/",
      children: "structure",
    },
    {
      text: "幻灯片",
      icon: "person-chalkboard",
      link: "https://ecosystem.vuejs.press/zh/plugins/markdown/revealjs/demo.html",
    },
  ],

  // 知识大纲的侧边导航栏
  "/md/knowledge_outline/": "structure",
},
);
